Repository navigation
fix: Move the Go toolchain as one Renovate group - #43
Merged
Merged
Conversation
A Go module security update that needs a newer Go fails CI until someone moves the build image, setup-go, golangci-lint and chainsaw by hand, because each pins Go on its own and Renovate offers them as separate dashboard boxes. On 24 Oct this broke security updates in 15 milo-os repositories, and Go 1.28 in February would do it again. Key changes: - Group the go.mod toolchain line, golang build images, setup-go, golangci-lint and chainsaw into one Go toolchain pull request per repository, opened without dashboard approval like Node.js - Read versions kept in Taskfile, Makefile and workflow variables that carry a "# renovate: datasource=... depName=..." comment, so linter and chainsaw pins outside workflow inputs become visible to Renovate - Leave the go.mod go line out: it sets runtime defaults and a library's minimum Go, so it keeps moving in a change of its own Related to milo-os/renovate-config#3
1 of 2 tasks
ecv
marked this pull request as ready for review
November 25, 2026 19:16
ecv
enabled auto-merge
November 25, 2026 19:16
Contributor
Author
|
Merges together with milo-os/.github#6. Without it, the milo-os preset pulls the Go version line back into its Go modules group in every milo-os repository. |
kevwilliams
approved these changes
Nov 25, 2026
2 of 3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
A Go module security update that needs a newer Go fails CI until someone moves the build image, setup-go, golangci-lint and chainsaw by hand, which hit 15 milo-os repositories on 24 Oct and would recur with Go 1.28 in February. Renovate now moves those pins together as one "Go toolchain" pull request per repository, opened without dashboard approval like Node.js, and reads Taskfile, Makefile and workflow variables marked with a
# renovate:comment, where most repositories pin golangci-lint and chainsaw. The go.modgoline stays out, since it changes runtime defaults and a library's minimum Go.Important
In milo-os, a later preset rule pulls the toolchain line into the Go modules group until it gains
"matchDatasources": ["go"].Test plan
Related to milo-os/renovate-config#3